package com.chinairi.mall.model;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.chinairi.common.model.BaseModel;
import com.baomidou.mybatisplus.annotation.TableField;

/**
 * <p>
 * 项目服务订单表
 * </p>
 *
 * @author gsl
 * @since 2020-10-28
 */
@TableName("SERVICE_ORDER_PROJECT")
public class ServiceOrderProject extends BaseModel {

    private static final long serialVersionUID = 1L;

    /**
     * 项目服务订单编号
     */
    @TableId("SOP_ID")
    private String sopId;

    /**
     * 项目系统编号
     */
    @TableField("P_ID")
    private String pId;

    /**
     * 项目服务店铺ID
     */
    @TableField("CS_DBID")
    private String csDbid;

    /**
     * 需求模型表主键
     */
    @TableField("MODEL_ID")
    private String modelId;

    /**
     * 模型名称
     */
    @TableField("MODEL_NAME")
    private String modelName;

    /**
     * 用户单位
     */
    @TableField("SOP_USER_UNIT")
    private String sopUserUnit;

    /**
     * 项目名称
     */
    @TableField("SOP_PROJECT_NAME")
    private String sopProjectName;

    /**
     * 项目服务类型
     */
    @TableField("SOP_TYPE")
    private String sopType;

    /**
     * 订单状态（0未确认，1已确认，2进行中，3已完结）
     */
    @TableField("SOP_STATUS")
    private Integer sopStatus;

    /**
     * 订单状态（0未确认，1已确认，2进行中，3已完结）
     */
    @TableField(exist = false)
    private String sopStatusLabel;



    /**
     * 井号
     */
    @TableField("P_WELL_NUM")
    private String pWellNum;

    /**
     * 井别
     */
    @TableField("P_WELL_CLASS")
    private String pWellClass;

    /**
     * 井型
     */
    @TableField("P_WELL_TYPE")
    private String pWellType;

    /**
     * 井深
     */
    @TableField("P_WELL_DEPTH")
    private String pWellDepth;

    /**
     * 工区
     */
    @TableField("P_WORK_AREA")
    private String pWorkArea;

    /**
     * 单价
     */
    @TableField("SOP_PRICE")
    private String sopPrice;

    /**
     * 计价单位
     */
    @TableField("SOP_UNIT")
    private String sopUnit;

    /**
     * 数量
     */
    @TableField("SOP_NUMBER")
    private Integer sopNumber;

    /**
     * 服务金额
     */
    @TableField("SOP_MONEY")
    private BigDecimal sopMoney;

    /**
     * 机构ID
     */
    @TableField("ORGID")
    private String orgid;

    /**
     * 下单人
     */
    @TableField("CREATE_USER")
    private String createUser;

    /**
     * 下单时间
     */
    @TableField("CREATE_TIME")
    private Date createTime;

    /**
     * 修改人
     */
    @TableField("UPDATE_USER")
    private String updateUser;

    /**
     * 修改时间
     */
    @TableField("UPDATE_TIME")
    private Date updateTime;

    /**
     * 需求计划编号
     */
    @TableField(exist = false)
    private String planReqId;

    /**
     * 需求计划状态
     */
    @TableField(exist = false)
    private Integer planReqStatus;

    /**
     * 需求计划审核状态
     */
    @TableField(exist = false)
    private String planReqApproveSatus;

    public String getSopId() {
        return sopId;
    }

    public void setSopId(String sopId) {
        this.sopId = sopId;
    }
    public String getpId() {
        return pId;
    }

    public void setpId(String pId) {
        this.pId = pId;
    }
    public String getCsDbid() {
        return csDbid;
    }

    public void setCsDbid(String csDbid) {
        this.csDbid = csDbid;
    }
    public String getModelId() {
        return modelId;
    }

    public void setModelId(String modelId) {
        this.modelId = modelId;
    }
    public String getModelName() {
        return modelName;
    }

    public void setModelName(String modelName) {
        this.modelName = modelName;
    }
    public String getSopUserUnit() {
        return sopUserUnit;
    }

    public void setSopUserUnit(String sopUserUnit) {
        this.sopUserUnit = sopUserUnit;
    }
    public String getSopProjectName() {
        return sopProjectName;
    }

    public void setSopProjectName(String sopProjectName) {
        this.sopProjectName = sopProjectName;
    }
    public String getSopType() {
        return sopType;
    }

    public void setSopType(String sopType) {
        this.sopType = sopType;
    }
    public Integer getSopStatus() {
        return sopStatus;
    }

    public void setSopStatus(Integer sopStatus) {
        this.sopStatus = sopStatus;
    }
    public String getpWellNum() {
        return pWellNum;
    }

    public void setpWellNum(String pWellNum) {
        this.pWellNum = pWellNum;
    }
    public String getpWellClass() {
        return pWellClass;
    }

    public void setpWellClass(String pWellClass) {
        this.pWellClass = pWellClass;
    }
    public String getpWellType() {
        return pWellType;
    }

    public void setpWellType(String pWellType) {
        this.pWellType = pWellType;
    }
    public String getpWellDepth() {
        return pWellDepth;
    }

    public void setpWellDepth(String pWellDepth) {
        this.pWellDepth = pWellDepth;
    }
    public String getpWorkArea() {
        return pWorkArea;
    }

    public void setpWorkArea(String pWorkArea) {
        this.pWorkArea = pWorkArea;
    }
    public String getSopPrice() {
        return sopPrice;
    }

    public void setSopPrice(String sopPrice) {
        this.sopPrice = sopPrice;
    }
    public String getSopUnit() {
        return sopUnit;
    }

    public void setSopUnit(String sopUnit) {
        this.sopUnit = sopUnit;
    }
    public Integer getSopNumber() {
        return sopNumber;
    }

    public void setSopNumber(Integer sopNumber) {
        this.sopNumber = sopNumber;
    }
    public BigDecimal getSopMoney() {
        return sopMoney;
    }

    public void setSopMoney(BigDecimal sopMoney) {
        this.sopMoney = sopMoney;
    }
    public String getOrgid() {
        return orgid;
    }

    public void setOrgid(String orgid) {
        this.orgid = orgid;
    }
    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }
    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getSopStatusLabel() {
        return sopStatusLabel;
    }

    public void setSopStatusLabel(String sopStatusLabel) {
        this.sopStatusLabel = sopStatusLabel;
    }

    public String getPlanReqId() {
        return planReqId;
    }

    public void setPlanReqId(String planReqId) {
        this.planReqId = planReqId;
    }

    public Integer getPlanReqStatus() {
        return planReqStatus;
    }

    public void setPlanReqStatus(Integer planReqStatus) {
        this.planReqStatus = planReqStatus;
    }

    public String getPlanReqApproveSatus() {
        return planReqApproveSatus;
    }

    public void setPlanReqApproveSatus(String planReqApproveSatus) {
        this.planReqApproveSatus = planReqApproveSatus;
    }

    @Override
    public String toString() {
        return "ServiceOrderProject{" +
                "sopId='" + sopId + '\'' +
                ", pId='" + pId + '\'' +
                ", csDbid='" + csDbid + '\'' +
                ", modelId='" + modelId + '\'' +
                ", modelName='" + modelName + '\'' +
                ", sopUserUnit='" + sopUserUnit + '\'' +
                ", sopProjectName='" + sopProjectName + '\'' +
                ", sopType='" + sopType + '\'' +
                ", sopStatus=" + sopStatus +
                ", sopStatusLabel='" + sopStatusLabel + '\'' +
                ", pWellNum='" + pWellNum + '\'' +
                ", pWellClass='" + pWellClass + '\'' +
                ", pWellType='" + pWellType + '\'' +
                ", pWellDepth='" + pWellDepth + '\'' +
                ", pWorkArea='" + pWorkArea + '\'' +
                ", sopPrice='" + sopPrice + '\'' +
                ", sopUnit='" + sopUnit + '\'' +
                ", sopNumber=" + sopNumber +
                ", sopMoney=" + sopMoney +
                ", orgid='" + orgid + '\'' +
                ", createUser='" + createUser + '\'' +
                ", createTime=" + createTime +
                ", updateUser='" + updateUser + '\'' +
                ", updateTime=" + updateTime +
                ", planReqId='" + planReqId + '\'' +
                ", planReqStatus='" + planReqStatus + '\'' +
                ", planReqApproveSatus='" + planReqApproveSatus + '\'' +
                '}';
    }
}
